package homework;

/**
 * @Author Stringzhua
 * @Date 2024/3/1 9:15
 * description:在测试方法中,调用method方法,代码如下,编译正确,试写出method方法的定义形式
 * 调用语句为:
 * System.out.println(method(10.0,20.0),100));
 *
 * result:
 * public double method(double num1,double num2){
 *     }
 */
//public class homework11 {
//    public static void main(String[] args) {
//        System.out.println(method(method(10.0,20.0)));
//    }
//}
//class method{
//    public double method(double num1,double num2){
//    }
//}
